package com.xie.stack;

/**
 * @author xiezhendong
 * @date 2022/10/17
 */
public class CalculatorTest {
    public static void main(String[] args) {
        Calculator calculator = new Calculator();
        //注意表达式
        String expression = "11+((22+33)*44)-55";
        calculator.setExpression(expression);
        calculator.initCalculator();

        System.out.println(calculator.getExpValue());
        System.out.println(calculator.getState());
    }
}
